package com.contract.pojo.output;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * Created with IntelliJ IDEA.
 *
 * @author liw
 * @version 1.0
 * @date 2023/12/29 16:50
 */
@Data
public class CardBackOutput extends BaseOutput implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "签发机关")
    @NotNull
    private String organization;

    @ApiModelProperty(value = "有效期开始")
    @NotNull
    private LocalDate cardStart;

    @ApiModelProperty(value = "有效期结束")
    @NotNull
    private LocalDate cardEnd;

    @ApiModelProperty(value = "文件id")
    @NotNull
    private Long fileId;

}
